projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66fd84
)
wayland: Don't use deprecated function: gdk_window_get_pointer
author
Rob Bradford
<rob@linux.intel.com>
Wed, 14 Dec 2011 14:27:07 +0000
(14:27 +0000)
committer
Rob Bradford
<rob@linux.intel.com>
Wed, 14 Dec 2011 14:43:29 +0000
(14:43 +0000)
Replace it with gdk_window_get_device_position.
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index 2a051de4da69f76156723741b252db7db3d81ada..806c568399e5d71070546c8a4da154a01ed36e73 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-114,7
+114,7
@@
gdk_device_core_get_state (GdkDevice *device,
{
gint x_int, y_int;
- gdk_window_get_
pointer (window
, &x_int, &y_int, mask);
+ gdk_window_get_
device_position (window, device
, &x_int, &y_int, mask);
if (axes)
{